From: Andreas Tille tille@debian.org, Rebecca N. Palmer Date: Sat, 2 Mar 2019 14:59:35 +0000 (+0000) Subject: Do not try to access remote locations on buildtime test X-Git-Tag: archive/raspbian/0.11.1-2+rpi1~2^2^2~15 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=53296e77bfedff2ffc47f738453e44d52681ecfe;p=statsmodels.git Do not try to access remote locations on buildtime test Bug-Debian: https://bugs.debian.org/882641 Gbp-Pq: Name prevent_online_access_in_buildtime_tests.patch --- diff --git a/statsmodels/datasets/tests/test_utils.py b/statsmodels/datasets/tests/test_utils.py index 23115b5..c8d91ad 100644 --- a/statsmodels/datasets/tests/test_utils.py +++ b/statsmodels/datasets/tests/test_utils.py @@ -20,6 +20,7 @@ def test_get_rdataset(): #@dec.skipif(not internet_available) def t_est_webuse(): # test copied and adjusted from iolib/tests/test_foreign + raise SkipTest('No remote connection at Debian package build time - skipping test') from statsmodels.iolib.tests.results.macrodata import macrodata_result as res2 #base_gh = "http://github.com/statsmodels/statsmodels/raw/master/statsmodels/datasets/macrodata/" base_gh = "http://www.statsmodels.org/devel/_static/" @@ -29,6 +30,7 @@ def t_est_webuse(): #@dec.skipif(not internet_available) def t_est_webuse_pandas(): # test copied and adjusted from iolib/tests/test_foreign + raise SkipTest('No remote connection at Debian package build time - skipping test') from pandas.util.testing import assert_frame_equal from statsmodels.datasets import macrodata dta = macrodata.load_pandas().data